package com.hulk.ratel.manage.wx.constant;

import java.io.File;

/**
 * @Description: 支付常量类
 * @author hulk
 * @date 2017-07-05
 * @version V1.0
 */
public class WxPayConstant {

	public final static String PAY_ORG_WX_JSAPI = "WX_JSAPI"; 				// 微信公众号支付
	public final static String PAY_ORG_WX_NATIVE = "WX_NATIVE";				// 微信原生扫码支付
	public final static String PAY_ORG_WX_APP = "WX_APP";					// 微信APP支付
	public final static String PAY_ORG_WX_MWEB = "WX_MWEB";					// 微信H5支付
	public final static String PAY_ORG_IAP = "IAP";							// 苹果应用内支付


	public final static String ORG_NAME_WX = "WX"; 				// 渠道名称:微信







	public static final String RETURN_CODE_SUCCESS = "SUCCESS";
	public static final String RETURN_CODE_FAIL = "FAIL";
	public static final String RESULT_CODE_SUCCESS="SUCCESS";
	public static final String RESULT_CODE_FAIL = "FAIL";

	public static class WxConstant {
		public final static String TRADE_TYPE_APP = "APP";									// APP支付
		public final static String TRADE_TYPE_JSPAI = "JSAPI";								// 公众号支付或小程序支付
		public final static String TRADE_TYPE_NATIVE = "NATIVE";							// 原生扫码支付
		public final static String TRADE_TYPE_MWEB = "MWEB";								// H5支付

	}

	public static class IapConstant {
		public final static String CONFIG_PATH = "iap" + File.separator + "iap";		// 苹果应用内支付
	}



	public static final String NOTIFY_BUSI_PAY = "NOTIFY_VV_PAY_RES";
	public static final String NOTIFY_BUSI_TRANS = "NOTIFY_VV_TRANS_RES";
	
}
